package com.sharedlease.check;

import org.springframework.stereotype.Component;

import java.util.Set;

@Component
public class IllegalInfoFactory {

    private static Set<String> factory;

    public static Set<String> getFactory(){
        return factory;
    }

    public static void setFactory(Set<String> factory1){
        factory = factory1;
    }

    public static void addData(String data){
        factory.add(data);
    }

    public static void deleteData(String data){factory.remove(data);}


}
